﻿<%@ Register TagPrefix="cc1" Namespace="Mysoft.CustomControl.AppGridEx" Assembly="Mysoft.CustomControl" %>
<%@ Register TagPrefix="mnu" Namespace="Mysoft.Map.Application.Menus" Assembly="Mysoft.Map.Application.Components" %>
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WF_ProcessAnalysis_Grid.aspx.vb" Inherits="MyWorkflow.WF_ProcessAnalysis_Grid" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title></title>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    <link rel="stylesheet" type="text/css" href="/_grid/map_grid.css">
    <link rel="stylesheet" type="text/css" href="/_nav/menu.css">
    <link rel="stylesheet" type="text/css" href="/_forms/styles/form.css">
    <link rel="stylesheet" type="text/css" href="/_controls/find/find.css">
    <link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
    <link rel="stylesheet" type="text/css" href="/_common/styles/select.css">
    <link href="/_grid/grid.css" type="text/css" rel="stylesheet">
    <!-- Repeater -->
	<script language="javascript" src="/_grid/rep_grid.js"></script>
    <script language="javascript" src="/_common/scripts/global.js"></script>
    <script language="javascript" src="/_controls/settings.aspx"></script>
    <script language="javascript" src="/_controls/util/util.js"></script>
    <script language="javascript" src="/_nav/menu.js"></script>
    <script language="javascript" src="/MyWorkflow/Workflow.js"></script>
    <script type="text/javascript" language="javascript">
        //在线帮助文件
        var _MyHelpfile = "/MyWorkflow/help/流程管理/流程效率分析/流程效率分析.htm";
        window.onload = function() {
            document.body.oncontextmenu = function() { return false };
            if (document.all("gridBar")) {
                initGrid(gridBar);
            }
        }
        function StepAnalysis() {
            var selectedRowIndex = AppGridE1.GetSelectedRows();
            if (selectedRowIndex == -1) { return; }
            var processModuleGUID = AppGridE1.GetAttribute("ProcessGUID", selectedRowIndex);
            var processModuleName = AppGridE1.GetAttribute("ProcessName", selectedRowIndex);
            var BUGUID = $id("__BUGUID").value;
            var BUName = $id("__BUName").value;
            var BeginDatetime = $id("__BeginDatetime").value;
            var EndDatetime = $id("__EndDatetime").value;
            var url = "/MyWorkflow/WF_ProcessAnalysis_Step.aspx";
            var Params = "?ProcessModuleGUID=" + processModuleGUID;
            Params += "&processModuleName=" + processModuleName;
            Params += "&BUGUID=" + BUGUID;
            Params += "&BUName=" + BUName;
            Params += "&BeginDatetime=" + BeginDatetime;
            Params += "&EndDatetime=" + EndDatetime;
            openMyFullWin(url + Params, "步骤效率分析");
        }
    </script>
<style>
			.iNoborder { BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; WIDTH: 100%; BORDER-BOTTOM: medium none; BACKGROUND-COLOR: transparent }
	</style>
</head>
<body style="padding: 0px; margin: 0px;background-color:White;">
    <form id="form2" runat="server">
    <table style="font-size: 9pt" cellspacing="0" cellpadding="0" width="100%" height="100%">
        <tr height="1">
            <td>
                <mnu:AppGridMenu ID="appGridMenu" runat="server" />
            </td>
        </tr>
        <tr height="98%">
            <td valign="top">
                <cc1:AppGridE id="AppGridE1" runat="server"></cc1:AppGridE>
            </td>
         </tr>
    </table>
    </form>
</body>
</html>
